#pragma once
#define GRAPH_FILES_FILTER "Windows or OS/2 Bitmap (*.bmp)|*.bmp| \
Dr. Halo (*.cut)|*.cut| \
DirectX Surface (*.dds)|*.dds| \
Raw fax format CCITT G.3 (*.g3)|*.g3| \
Graphics Interchange Format (*.gif)|*.gif| \
High Dynamic Range (*.hdr)|*.hdr| \
Windows Icon (*.ico)|*.ico| \
IFF Interleaved Bitmap (*.iff,*.lbm)|*.iff;*.lbm| \
JPEG Network Graphics (*.jng)|*.jng| \
JPEG-JFIF Compliant (*.jpg,*.jif,*.jpeg,*.jpe)|*.jpg;*.jif;*.jpeg;*.jpe| \
C64 Koala Graphics (*.koa)|*.koa| \
Multiple Network Graphics (*.mng)|*.mng| \
Portable Bitmap (ASCII) (*.pbm)|*.pbm| \
Portable Bitmap (RAW) (*.pbm)|*.pbm| \
Kodak PhotoCD (*.pcd)|*.pcd| \
Zsoft Paintbrush (*.pcx)|*.pcx| \
Portable Greymap (ASCII) (*.pgm)|*.pgm| \
Portable Greymap (RAW) (*.pgm)|*.pgm| \
Portable Network Graphics (*.png)|*.png| \
Portable Pixelmap (ASCII) (*.ppm)|*.ppm| \
Portable Pixelmap (RAW) (*.ppm)|*.ppm| \
Adobe Photoshop (*.psd)|*.psd| \
Sun Raster Image (*.ras)|*.ras| \
Silicon Graphics SGI image format (*.sgi)|*.sgi| \
Truevision Targa (*.tga,*.targa)|*.tga;*.targa| \
Tagged Image File Format (*.tif,*.tiff)|*.tif;*.tiff| \
Wireless Bitmap (*.wap,*.wbmp,*.wbm)|*.wap;*.wbmp;*.wbm| \
X11 Bitmap Format (*.xbm)|*.xbm| \
X11 Pixmap Format (*.xpm)|*.xpm| \
All files (*.*)|*.*||"

#include "IniFile.h"
// CConfiguration

class AFX_CLASS_EXPORT CConfiguration 
{
public:
	virtual ~CConfiguration(void);
	static CConfiguration* Instance();
	static BOOL CConfiguration::CheckPathExists(CString szPath);
	static void CConfiguration::RecursiveDelete(CString szPath);	
protected:	
	CConfiguration(void);
	static CConfiguration* m_instance;
	void Load();
public: 
	CString m_strBasePath;
	CString m_strSettingsPath;		//Settings directory
	CString m_strSettingsFilePath;	//Settings file path
	CIniFile m_iniFile;		        //Settings file 
};


